package spring.transaction.c01;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TranBoot {
	public static void main(String[] args) throws Exception {
		ApplicationContext context = new ClassPathXmlApplicationContext(
				"context.xml", TranBoot.class);
		TranService service = (TranService) context.getBean("tranService");
		String aa=service.insertPerson("");
		System.out.println(aa);
	}
}
